package com.sczmgk.hotline_pzh.db.impl;

import android.content.Context;

import com.sczmgk.hotline_pzh.db.ChatMsgDao;
import com.sczmgk.hotline_pzh.db.base.DAOSupport;
import com.sczmgk.hotline_pzh.hxim.ChatMsgBean;

/**
 * Created by chenb on 2016/12/6.
 */

public class ChatMsgDaoImpl extends DAOSupport<ChatMsgBean> implements ChatMsgDao{

    private ChatMsgDaoImpl(Context context) {
        super(context);
    }
    private static ChatMsgDaoImpl intance;
    public static ChatMsgDaoImpl getIntance(Context context){
        if(intance == null){
            intance = new ChatMsgDaoImpl(context);
        }
        return intance;
    }
}
